[gd_scene load_steps=17 format=2]

[ext_resource path="res://src/scenes/dynamic_grid_container/dynamic_grid_container.tscn" type="PackedScene" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
[ext_resource path="res://src/scenes/media_window/media_window.gd" type="Script" id=3]
[ext_resource path="res://src/scenes/button_container/button_container.tscn" type="PackedScene" id=4]
[ext_resource path="res://src/scenes/channel_card/channel_card.tscn" type="PackedScene" id=5]
[ext_resource path="res://src/scenes/media_list_item/media_list_item.tscn" type="PackedScene" id=6]
[ext_resource path="res://src/scenes/button_container/button_container.gd" type="Script" id=7]
[ext_resource path="res://assets/fonts/dejavu_sans_mono/DejaVuSansMono.ttf" type="DynamicFontData" id=8]
[ext_resource path="res://assets/fonts/open_sans_emoji/OpenSansEmoji.ttf" type="DynamicFontData" id=9]
[ext_resource path="res://assets/icons/arrow.png" type="Texture" id=10]
[ext_resource path="res://src/scenes/image_loader/spinner.tscn" type="PackedScene" id=11]

[sub_resource type="DynamicFont" id=1]
use_filter = true
font_data = ExtResource( 8 )
fallback/0 = ExtResource( 9 )

[sub_resource type="StyleBoxFlat" id=2]
content_margin_left = 5.0
content_margin_right = 5.0
content_margin_top = 5.0
content_margin_bottom = 5.0
bg_color = Color( 0.235294, 0.235294, 0.27451, 1 )
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color( 0.27451, 0.27451, 0.313726, 1 )
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5

[sub_resource type="StyleBoxFlat" id=3]
content_margin_left = 10.0
content_margin_right = 10.0
content_margin_top = 10.0
content_margin_bottom = 10.0
bg_color = Color( 0.235294, 0.235294, 0.27451, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0, 0, 0, 1 )
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5

[sub_resource type="StyleBoxFlat" id=4]
content_margin_left = 10.0
content_margin_right = 10.0
content_margin_top = 10.0
content_margin_bottom = 10.0
bg_color = Color( 0.235294, 0.235294, 0.27451, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0, 0, 0, 1 )
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5

[sub_resource type="StyleBoxFlat" id=5]
content_margin_left = 10.0
content_margin_right = 10.0
content_margin_top = 10.0
content_margin_bottom = 10.0
bg_color = Color( 0.235294, 0.235294, 0.27451, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0, 0, 0, 1 )
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5

[node name="MediaWindow" type="VSplitContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/autohide = 0
dragger_visibility = 2
script = ExtResource( 3 )
MediaListItem_scene = ExtResource( 6 )

[node name="MarginContainer" type="MarginContainer" parent="."]
margin_right = 1024.0
margin_bottom = 300.0
size_flags_horizontal = 3
size_flags_vertical = 3

[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
margin_right = 1024.0
margin_bottom = 300.0
size_flags_horizontal = 3
size_flags_vertical = 3

[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
margin_right = 1024.0
margin_bottom = 273.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 20

[node name="SuggestionsScrollContainer" type="ScrollContainer" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_right = 286.0
margin_bottom = 273.0
size_flags_horizontal = 3
size_flags_vertical = 3
scroll_horizontal_enabled = false

[node name="Suggestions" parent="MarginContainer/VBoxContainer/HBoxContainer/SuggestionsScrollContainer" instance=ExtResource( 1 )]
margin_right = 286.0
margin_bottom = 273.0
size_flags_stretch_ratio = 1.5

[node name="MainMarginContainer" type="MarginContainer" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 306.0
margin_right = 1024.0
margin_bottom = 273.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 2.5

[node name="MainScrollContainer" type="ScrollContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer"]
margin_right = 718.0
margin_bottom = 273.0
size_flags_horizontal = 3
size_flags_vertical = 3
scroll_horizontal_enabled = false

[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer"]
margin_right = 718.0
margin_bottom = 273.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_right = 3

[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer"]
margin_right = 715.0
margin_bottom = 273.0
size_flags_horizontal = 3
size_flags_stretch_ratio = 4.0
custom_constants/separation = 20

[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer"]
margin_right = 715.0
margin_bottom = 138.0
rect_min_size = Vector2( 0, 100 )
size_flags_vertical = 3
size_flags_stretch_ratio = 0.4
custom_constants/separation = 20

[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer"]
margin_right = 397.0
margin_bottom = 138.0
size_flags_horizontal = 7
size_flags_vertical = 4
size_flags_stretch_ratio = 2.0
custom_constants/separation = 20

[node name="Title" type="RichTextLabel" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
margin_right = 397.0
margin_bottom = 20.0
rect_min_size = Vector2( 0, 14 )
focus_mode = 2
custom_fonts/normal_font = SubResource( 1 )
bbcode_enabled = true
bbcode_text = "[center]Title[/center]"
text = "Title"
fit_content_height = true
scroll_active = false
selection_enabled = true

[node name="ChannelButton" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer" instance=ExtResource( 4 )]
margin_top = 40.0
margin_right = 397.0
margin_bottom = 100.0
custom_styles/panel = SubResource( 2 )
color_normal = Color( 0.235294, 0.235294, 0.27451, 1 )
color_hovered = Color( 0.313726, 0.313726, 0.352941, 1 )
color_pressed = Color( 0.196078, 0.196078, 0.235294, 1 )

[node name="ChannelCard" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer/ChannelButton" instance=ExtResource( 5 )]
margin_left = 5.0
margin_top = 5.0
margin_right = 392.0
margin_bottom = 55.0

[node name="Spinner" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer/ChannelButton/ChannelCard" index="1"]
margin_right = 191.0
margin_bottom = 50.0

[node name="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer/ChannelButton/ChannelCard" index="2"]
margin_left = 195.0
margin_right = 387.0
margin_bottom = 50.0

[node name="ChannelTitle" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer/ChannelButton/ChannelCard/VBoxContainer" index="0"]
margin_top = 7.0
margin_right = 192.0
margin_bottom = 24.0

[node name="ChannelName" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer/ChannelButton/ChannelCard/VBoxContainer" index="1"]
margin_top = 28.0
margin_right = 192.0
margin_bottom = 42.0

[node name="Information" type="RichTextLabel" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
margin_top = 120.0
margin_right = 397.0
margin_bottom = 138.0
focus_mode = 2
fit_content_height = true
scroll_active = false
selection_enabled = true

[node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 417.0
margin_right = 715.0
margin_bottom = 138.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 1.5

[node name="MediaThumbnailButton" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2" instance=ExtResource( 4 )]
margin_right = 298.0
margin_bottom = 35.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/panel = SubResource( 3 )
color_normal = Color( 0.235294, 0.235294, 0.27451, 1 )
color_hovered = Color( 0.313726, 0.313726, 0.352941, 1 )
color_pressed = Color( 0.196078, 0.196078, 0.235294, 1 )

[node name="MediaThumbnail" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2/MediaThumbnailButton"]
visible = false
margin_left = 10.0
margin_top = 10.0
margin_right = 288.0
margin_bottom = 46.0
size_flags_horizontal = 3
size_flags_vertical = 3
texture = ExtResource( 2 )
expand = true
stretch_mode = 6

[node name="MediaSpinner" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2/MediaThumbnailButton" instance=ExtResource( 11 )]
margin_left = 10.0
margin_top = 10.0
margin_right = 288.0
margin_bottom = 25.0

[node name="MediaOpenWithButton" type="PanelContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2"]
margin_top = 39.0
margin_right = 298.0
margin_bottom = 76.0
custom_styles/panel = SubResource( 4 )
script = ExtResource( 7 )
color_normal = Color( 0.235294, 0.235294, 0.27451, 1 )
color_hovered = Color( 0.313726, 0.313726, 0.352941, 1 )
color_pressed = Color( 0.196078, 0.196078, 0.235294, 1 )

[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2/MediaOpenWithButton"]
margin_left = 10.0
margin_top = 10.0
margin_right = 288.0
margin_bottom = 27.0
text = "Open with..."
align = 1

[node name="MediaDownloadButton" type="PanelContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2"]
margin_top = 80.0
margin_right = 298.0
margin_bottom = 117.0
custom_styles/panel = SubResource( 5 )
script = ExtResource( 7 )
color_normal = Color( 0.235294, 0.235294, 0.27451, 1 )
color_hovered = Color( 0.313726, 0.313726, 0.352941, 1 )
color_pressed = Color( 0.196078, 0.196078, 0.235294, 1 )

[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2/MediaDownloadButton"]
margin_left = 10.0
margin_top = 10.0
margin_right = 288.0
margin_bottom = 27.0
text = "Download"
align = 1

[node name="FileTypeLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2"]
margin_top = 121.0
margin_right = 298.0
margin_bottom = 138.0
text = "File type: unknown"
align = 1

[node name="Description" type="RichTextLabel" parent="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer"]
margin_top = 158.0
margin_right = 715.0
margin_bottom = 273.0
focus_mode = 2
size_flags_vertical = 3
text = "Description"
fit_content_height = true
selection_enabled = true

[node name="ExpandCommentsButton" type="Button" parent="MarginContainer/VBoxContainer"]
margin_left = 482.0
margin_top = 277.0
margin_right = 542.0
margin_bottom = 300.0
rect_min_size = Vector2( 60, 0 )
size_flags_horizontal = 4
icon = ExtResource( 10 )
icon_align = 1

[node name="CommentsMarginContainer" type="MarginContainer" parent="."]
margin_top = 300.0
margin_right = 1024.0
margin_bottom = 600.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_top = 5

[node name="VBoxContainer" type="VBoxContainer" parent="CommentsMarginContainer"]
margin_top = 5.0
margin_right = 1024.0
margin_bottom = 300.0

[node name="CollapseCommentsButton" type="Button" parent="CommentsMarginContainer/VBoxContainer"]
margin_left = 482.0
margin_right = 542.0
margin_bottom = 23.0
rect_min_size = Vector2( 60, 0 )
size_flags_horizontal = 4
icon = ExtResource( 10 )
icon_align = 1

[node name="CommentsScrollContainer" type="ScrollContainer" parent="CommentsMarginContainer/VBoxContainer"]
margin_top = 27.0
margin_right = 1024.0
margin_bottom = 295.0
size_flags_vertical = 3
scroll_horizontal_enabled = false

[editable path="MarginContainer/VBoxContainer/HBoxContainer/MainMarginContainer/MainScrollContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer/ChannelButton/ChannelCard"]
